package n04;

public class N03 {
	public static void main(String[] args) {
		Sex3[] values = Sex3.values(); //获取Sex枚举的所有取值，保存倒Sex数组中
		for(Sex3 sex: values) { 
			System.out.println(sex.ordinal()+"\t"+ sex.name()+"\t"+sex.toString());
		}
	}

}
